package org.ccu.eshop.domain.dto;

import org.ccu.eshop.domain.OrdersPo;

import java.math.BigDecimal;

public class OrdersVo extends OrdersPo {
    private BigDecimal money;///总金额
    public OrdersVo() {
    }

    public OrdersVo(Integer id, Integer member, Integer cart, String orderNO, String orderDate, Integer orderStatus) {
        super(id, member, cart, orderNO, orderDate, orderStatus);
    }

    public OrdersVo(Integer member, Integer cart, String orderNO, String orderDate, Integer orderStatus) {
        super(member, cart, orderNO, orderDate, orderStatus);
    }

    public OrdersVo(Integer id, Integer member, Integer cart, String orderNO, String orderDate, Integer orderStatus, BigDecimal money) {
        super(id, member, cart, orderNO, orderDate, orderStatus);
        this.money = money;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }
}
